package com.yuzhenxin.coursesystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuzhenxin.coursesystem.controller.admin.vo.UserQueryReqVO;
import com.yuzhenxin.coursesystem.entity.TeacherDO;
import jakarta.servlet.http.HttpServletResponse;

import java.util.List;
import java.util.Map;

public interface TeacherService extends IService<TeacherDO> {

    List<TeacherDO> selectList();

    IPage<TeacherDO> selectPage(UserQueryReqVO queryDto);

    Map<String, Object> selectCount();

    List<Map<String, Object>> selectTeacherOrderByTpt();

    void exportData(HttpServletResponse response);

    void insert(TeacherDO teacherEntity);

}
